package com.leps.nq.bu.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@TableName("bu_cust")
@ApiModel(value = "BuCust对象", description = "客户表")
public class BuCust implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("客户ID")
    @TableId(value = "cust_id", type = IdType.AUTO)
    private Integer custId;

    @ApiModelProperty("客户名称")
    private String custName;

    @ApiModelProperty("服务状态 (0服务中 1不在服务中)")
    private Integer serviceStatus;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("受保护时间")
    private Date protectStartTime;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
